<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        // const string = "99";
        // console.log(typeof string);
        // console.log(string * 1 + 78);
        // console.log(Number(string) + 78);

        // const number = 99;
        // console.log(typeof number);
        // const str = number + "";
        // console.log(typeof str);
        // console.log(typeof String(number));

        // const string = "99baidu.com";
        // console.log(parseInt(string));

        // const cms = "hdcms";
        // console.log(cms.split("").length);
        // const array = ["hdcms", "houdunren"];

        // console.log(array.join("|"));

        // let str = "houdunren";
        // console.log(typeof str);

        // let cms = new String("hdcms");
        // console.log(typeof cms);

        // console.log(cms.substr(3));

        const array = ["hdcms", "houdunren"];
        console.log(array.toString());

        const number = 99;
        const newNumber = number.toString();
        console.log(typeof newNumber);

    </script>
</body>

</html>